import React, { FC, ReactElement } from 'react';
import { Outlet } from 'react-router-dom';
import {} from '@douyinfe/semi-ui';
import { AdminLayout } from '@/components';
import { useTheme } from '@/hooks';

const CommonPage: FC = (): ReactElement => {
  const { theme, toggleTheme } = useTheme();

  return (
    <div>
      <AdminLayout
        showSider={false}
        showMessageBtn={false}
        theme={theme}
        showAvatar={false}
        toggleTheme={toggleTheme}
      />
    </div>
  );
}

export default CommonPage;